export const useThemeStore = defineStore('themeStore',
    {
        state: () => ({
            theme: ''
        }),
        getters: {
            getTheme: (state) => state.theme,
        },
        actions: {
            setTheme(value: any) {
                this.theme = value;
            },
            clear() {
                this.theme = 'dark';
            }
        },
        persist: true,
    });
